Freescale Semiconductor /MK80F25615 /USB0 /OTGSTAT

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTGSTAT

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)AVBUSVLD 0 (0)BSESSEND 0 (0)SESS_VLD 0 (0)LINESTATESTABLE 0 (ONEMSECEN)ONEMSECEN 0 (0)ID

BSESSEND=0, LINESTATESTABLE=0, ID=0, SESS_VLD=0, AVBUSVLD=0

Description

OTG Status register

Fields

AVBUSVLD

A VBUS Valid

0 (0): The VBUS voltage is below the A VBUS Valid threshold.

1 (1): The VBUS voltage is above the A VBUS Valid threshold.

BSESSEND

B Session End

0 (0): The VBUS voltage is above the B session end threshold.

1 (1): The VBUS voltage is below the B session end threshold.

SESS_VLD

Session Valid

0 (0): The VBUS voltage is below the B session valid threshold

1 (1): The VBUS voltage is above the B session valid threshold.

LINESTATESTABLE

Indicates that the internal signals that control the LINE_STATE_CHG field of OTGISTAT are stable for at least 1 ms

0 (0): The LINE_STAT_CHG bit is not yet stable.

1 (1): The LINE_STAT_CHG bit has been debounced and is stable.

ONEMSECEN

This bit is reserved for the 1ms count, but it is not useful to software.

ID

Indicates the current state of the ID pin on the USB connector

0 (0): Indicates a Type A cable is plugged into the USB connector.

1 (1): Indicates no cable is attached or a Type B cable is plugged into the USB connector.

Links

() ()